
public class Code008 {
	public static void main(String[] args) {
		for (int i = 1; i < 21; i++) {
			int j = 10;
			if (i == 1 || i == 20) {
				while (j-- > 0){
					System.out.print("*");
				}
			} else {
				System.out.print("*");
				while (j-- > 2) {
					System.out.print(" ");
				}
				System.out.print("*");
			}
			System.out.println("");
		}

	}

}
